/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package queenb.net.entitybean;

import java.io.Serializable;
import oracle.jdbc.OracleTypes;
import queenb.net.annotation.Mapping;
import queenb.net.datacontrol.DataControl;

/**
 *
 * @author Nguyen Hung
 */
public class C270 extends DataControl<C270> implements Serializable {
      @Mapping(name = "PC270", typeMapping = OracleTypes.INTEGER)
    private int pc270;
      @Mapping(name = "FC575", typeMapping = OracleTypes.INTEGER)
    private String fc575;
      @Mapping(name = "FC350", typeMapping = OracleTypes.INTEGER)
    private String fc350;
       @Mapping(name = "CV271", typeMapping = OracleTypes.CHAR)
    private String cv271;
        @Mapping(name = "CV272", typeMapping = OracleTypes.CHAR)
    private String cv272;
        @Mapping(name = "CN273", typeMapping = OracleTypes.INTEGER)
    private String cn273;
      @Mapping(name = "CN274", typeMapping = OracleTypes.INTEGER)
    private int cn274;
       @Mapping(name = "VAL", typeMapping = OracleTypes.INTEGER)
    private int val;
      @Mapping(name = "LABEL", typeMapping = OracleTypes.CHAR)
    private String label;
private Boolean flagCV;
    /**
     * @return the pc270
     */
    public int getPc270() {
        return pc270;
    }

    /**
     * @param pc270 the pc270 to set
     */
    public void setPc270(int pc270) {
        this.pc270 = pc270;
    }

    /**
     * @return the fc575
     */
    public String getFc575() {
        return fc575;
    }

    /**
     * @param fc575 the fc575 to set
     */
    public void setFc575(String fc575) {
        this.fc575 = fc575;
    }

    /**
     * @return the fc350
     */
    public String getFc350() {
        return fc350;
    }

    /**
     * @param fc350 the fc350 to set
     */
    public void setFc350(String fc350) {
        this.fc350 = fc350;
    }

    /**
     * @return the cv271
     */
    public String getCv271() {
        return cv271;
    }

    /**
     * @param cv271 the cv271 to set
     */
    public void setCv271(String cv271) {
        this.cv271 = cv271;
    }

    /**
     * @return the cv272
     */
    public String getCv272() {
        return cv272;
    }

    /**
     * @param cv272 the cv272 to set
     */
    public void setCv272(String cv272) {
        this.cv272 = cv272;
    }

    /**
     * @return the cn273
     */
    public String getCn273() {
        return cn273;
    }

    /**
     * @param cn273 the cn273 to set
     */
    public void setCn273(String cn273) {
        this.cn273 = cn273;
    }

    /**
     * @return the cn274
     */
    public int getCn274() {
        return cn274;
    }

    /**
     * @param cn274 the cn274 to set
     */
    public void setCn274(int cn274) {
        this.cn274 = cn274;
    }

    /**
     * @return the val
     */
    public int getVal() {
        return val;
    }

    /**
     * @param val the val to set
     */
    public void setVal(int val) {
        this.val = val;
    }

    /**
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * @param label the label to set
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * @return the flagCV
     */
    public Boolean getFlagCV() {
        if(cn274==1){
            setFlagCV(true);
        }else{
            setFlagCV(false);
        }
        return flagCV;
    }

    /**
     * @param flagCV the flagCV to set
     */
    public void setFlagCV(Boolean flagCV) {
        this.flagCV = flagCV;
    }

  
}
